﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hyt.Core;
using Hyt.Passport.Models;

namespace Hyt.Passport.Repositories
{
    public interface IOperationRepository
    {
        IQueryable<Operation> GetOperations(QueryOption<Operation> option = null);
        Operation AddOperation(Operation model);
        void RemoveOperation(Operation model);
        void UpdateOperation(Operation model);


        IQueryable<OperationGroup> GetOperationGroups(QueryOption<OperationGroup> option = null);
        OperationGroup AddOperationGroup(OperationGroup model);
        void RemoveOperationGroup(OperationGroup model);
        void UpdateOperationGroup(OperationGroup model);
    }
}
